package com.jp.java8;

public class ComplexApple {
    private String color;
    private int weight;
    private String name;


    public ComplexApple(String color, int weight, String name) {
        this.color = color;
        this.weight = weight;
        this.name = name;
    }


    @Override
    public String toString() {
        return "ComplexApple{" +
                "color='" + color + '\'' +
                ", weight=" + weight +
                ", name='" + name + '\'' +
                '}';
    }
}
